<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            height: 500px;
            width: 500px;
            border: 3px solid gray;
        }
        #grad1{
            background-image: linear-gradient(to right,rgba(255,0,0,0.5),rgba(0,0,255,0.5));
        }
        #grad3{
            background-color: aqua;
            background-image: repeating-linear-gradient(90deg,blue 2%,red 10%,black 5%);
        }
        #grad2{
            background-image: radial-gradient(blue,pink,yellow);
        }
    </style>
</head>
<body>
    <div id="grad1">
        线性渐变
    </div>
    <div id="grad3">
        1
    </div>
    <div id="grad2">
        径向渐变
    </div>
    <a href="./精灵图.html">精灵图</a>
</body>
</html>